package com.well.register.netty;

import java.net.InetSocketAddress;
import java.net.SocketAddress;

public class ChannelClientFactory {

    /**
     * @return
     */
    public static void createChannel(String host, Integer port) {
        createChannel(new InetSocketAddress(host, port));
    }

    /**
     * @return
     */
    public static void createChannel(SocketAddress socketAddress) {
        ClusterClient base = new ClusterClient();
        base.createChannel(null, socketAddress);
    }
}
